<%@page import="Logic.Authorizer"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%
	if (session.getAttribute("name") == null) {
		response.sendRedirect("login.jsp");
	} else {

			
				if(session.getAttribute("role").equals("4"))
				{
					response.sendRedirect("role_view.jsp");
				}
				else
				{
					if (session.getAttribute("role").equals("1")) {
						response.sendRedirect("staffapp_approved.jsp");
					}
					else {
						response.sendRedirect("QM_qualitymanual.jsp");
					}
				}
			
		}
%>

<!-- Declare the first header -->
<jsp:include page="t_header.jsp" />

<!-- Declare Breadcrumbs options -->
<!-- Declare Breadcrumbs options -->
<div class="breadcrumbs_container">
	<article class="breadcrumbs">
		<a class="current">Welcome</a>
	</article>
</div>
<jsp:include page="header.html" />
<!-- Declare sidebar -->
<jsp:include page="t_sidebar.jsp" />

<!-- Main Content -->
<body>
	<section id="main" class="column">
		<h4 class="alert_info">Welcome! Please use the links in the top
			bar to navigate.</h4>

		<div class="clear"></div>
		<div class="spacer"></div>
	</section>

	<!-- Declare closing tags -->
	<jsp:include page="t_footer.jsp" />